<template>
  <div class="goodsListMore-container">
    <TopHeader />
    <el-container>
      <el-aside width="200px">
        <el-menu router
          default-active="2"
          class="el-menu-vertical-demo">
          <el-menu-item index="/info">
            <i class="el-icon-menu"></i>
            <span slot="title">个人信息</span>
          </el-menu-item>

          <el-menu-item index="/order">
            <i class="el-icon-menu"></i>
            <span slot="title">我的订单</span>
          </el-menu-item>
          <el-menu-item index="/address">
            <i class="el-icon-document"></i>
            <span slot="title">地址管理</span>
          </el-menu-item>
          <el-menu-item index="/recharge">
            <i class="el-icon-setting"></i>
            <span slot="title">钱包充值</span>
          </el-menu-item>
          <el-menu-item index="/collect">
            <i class="el-icon-setting"></i>
            <span slot="title">我的收藏</span>
          </el-menu-item>
          <el-menu-item index="/foot">
            <i class="el-icon-setting"></i>
            <span slot="title">浏览足迹</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>

  </div>
</template>

<script>
//header
import TopHeader from '@/components/modules/header.vue';
//api
import { GetShoppingCatbyUseid } from '@/utils/api/api.js';
export default {
  components: {
    TopHeader,
  },
  data() {
    return {};
  },
  methods: {
    //全选
  },
  created() {
  },
};
</script>

<style lang="scss" scoped>
.el-container {
  width: 1200px;
  margin: 0 auto;
}
.el-aside {
  height: 100vh;
}
:deep(.el-menu-item.is-active){
    border-left: 3px solid orange;
    color:orange;
}
</style>